class Task22:
    def run(self, head, k):
        if head is None:
            return None
        if k == 0:
            return None

        node1 = head
        node2 = head
        for _ in range(k - 1):
            if node2 is not None:
                node2 = node2.next
        if node2 is None:
            return None

        while node2.next is not None:
            node1 = node1.next
            node2 = node2.next
        return node1
